#define _CRT_SECURE_NO_WARNINGS 1

#include<stdio.h>

int main() {
	int a, b;
	scanf("%d %d", &a, &b);
	int * p, * q;
	p = &b;
	q = &a;
	printf("%d %d", *p, *q);
	return 0;
}